package com.xx.job.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.xx.job.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangcy
 * @since 2021-01-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysOperaLog extends BaseEntity {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;

    /**
     * '创建者'
     */
    private Long createBy;

    /**
     * '更新者'
     */
    private Long updateBy;

    /**
     * 操作模块
     */
    private String title;

    /**
     * 操作类型
     */
    private String businessType;

    /**
     * BusinessTypes
     */
    private String businessTypes;

    /**
     * 函数
     */
    private String method;

    /**
     * 请求方式
     */
    private String requestMethod;

    /**
     * 操作类型
     */
    private String operatorType;

    /**
     * 操作者
     */
    private String operName;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 访问地址
     */
    private String operUrl;

    /**
     * 客户端ip
     */
    private String operIp;

    /**
     * 访问位置
     */
    private String operLocation;

    /**
     * 请求参数
     */
    private String operParam;

    /**
     * 操作状态
     */
    private String status;

    /**
     * 操作时间
     */
    private LocalDateTime operTime;

    /**
     * 返回数据
     */
    private String jsonResult;

    /**
     * 备注
     */
    private String remark;

    /**
     * 耗时
     */
    private String latencyTime;

    /**
     * ua
     */
    private String userAgent;


}
